import { post,postnoloading,get,jsonPost} from '@api/base'

//调用支付平台 预约挂号
export function CallPaymentPlatform(params) {
   return jsonPost({ url: '/sst/orderPay/pay',
    method: 'post',
    params,
	timeout: 10000
  })
}

//查询第三方支付状态
export function searchPayStatus(params) {
   return get({ url: '/sst/orderPay/status',
    method: 'get',
    params,
	timeout: 10000
  })
}

//生成结算订单  门诊缴费 获取二维码
export function preSettle(params) {
   return jsonPost({ url: '/settle/model1/preSettle',
    method: 'post',
    params,
	timeout: 10000
  })
}

//生成充值订单  门诊充值 获取二维码
export function preAdvance(params) {
   return jsonPost({ url: '/settle/model1/preAdvance',
    method: 'post',
    params,
	timeout: 10000
  })
}

//预交金充值完之后 告诉HIS预交金成功
export function settleAdvance(params) {
   return jsonPost({ url: '/settle/model1/advance',
    method: 'post',
    params,
	timeout: 10000
  })
}


